﻿namespace BlamanticUI.Components;

/// <summary>
/// Represents a group of icons and layout.
/// </summary>
[HtmlTag("i")]
[CssClass("icons")]
public class IconGroup : BlazorParentComponentBase<IconGroup>, IHasSize,IHasChildContent
{
    /// <summary>
    /// Initializes a new instance of the <see cref="IconGroup"/> class.
    /// </summary>
    public IconGroup()
    {
    }

    /// <summary>
    /// Gets or sets the size of icons.
    /// </summary>
    [Parameter] public Size? Size { get; set; }
    /// <summary>
    /// A segment of UI content to render.
    /// </summary>
    [Parameter] public RenderFragment? ChildContent { get; set; }
}
